package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 progress
 * 
 * @author ruoyi
 * @date 2022-07-04
 */
public class Progress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long uid;

    /** 视频id */
    private Long vid;

    /** 状态为0表示未开始，为1表示已完成 */
    @Excel(name = "状态为0表示未开始，为1表示已完成")
    private String state;

    /** 课程id */
    private Long courseId;

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setVid(Long vid) 
    {
        this.vid = vid;
    }

    public Long getVid() 
    {
        return vid;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uid", getUid())
            .append("vid", getVid())
            .append("state", getState())
            .append("courseId", getCourseId())
            .toString();
    }
}
